package com.xjrsoft.module.customer.erp_model.eRP_OutStock.service;

import com.xjrsoft.module.customer.erp_model.eRP_OutStock.dto.ErpStockoutstockentryDto;
import com.xjrsoft.module.customer.erp_model.eRP_OutStock.entity.ErpStockoutstock;
import com.xjrsoft.module.customer.erp_model.eRP_OutStock.entity.ErpStockoutstockentry;
import com.xjrsoft.module.customer.erp_model.eRP_OutStock.dto.ErpStockoutstockListDto;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.xjrsoft.common.page.PageOutput;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xjrsoft.module.customer.erp_model.eRP_OutStock.vo.ErpStockoutstockentryVo;

/**
 *  服务类
 *
 * @author pp
 * @since 2021-10-08
 */
public interface IErpStockoutstockService extends IService<ErpStockoutstock> {
	/**
	 * 自定义分页
	 *
	 * @param pageListDto
	 * @return
	 */
	IPage<ErpStockoutstock> getPageList(ErpStockoutstockListDto pageListDto);

	List<ErpStockoutstockentryVo> getErpStockoutstockentryByParentId(String F_OutStockId,String F_WarehouseId);
	String addErpStockoutstock(ErpStockoutstock erpStockoutstock, List<ErpStockoutstockentryDto> erpStockoutstockentryDtos,List<ErpStockoutstockentry> erpStockoutstockentryList);

	boolean updateErpStockoutstock(String id, ErpStockoutstock erpStockoutstock, List<ErpStockoutstockentry> erpStockoutstockentryList);
}
